<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$setting.webname}-我的学生</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link rel="shortcut icon" href="/public/static/admin/uploads/set/{$setting['ico']}">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/base.css">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/home.css">
    <script type="text/javascript" src="/public/static/home/themes/js/jquery.min.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/slider.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/tab.js"></script>
    <link rel="stylesheet" href="/public/static/admin/layui/css/layui.css">
    <link rel="stylesheet" href="/public/static/admin/css/font-awesome.css">
    <link rel="stylesheet" href="/public/static/home/css/aui.css">
</head>
<body>

<section class="aui-flexView">
    <header class="aui-navBar aui-navBar-fixed b-line">
        <a href="javascript:history.back(-1)" class="aui-navBar-item">
            <i class="icon icon-return"></i>
        </a>
        <div class="aui-center">
            <span class="aui-center-title"> {if condition="empty($th)"}我的{$type_name}学生{else /} {$th.name}{$type_name}的学生 {/if}</span>
        </div>
        <a href="javascript:;" class="aui-navBar-item">
            <i class="icon icon-sys"></i>
        </a>
    </header>
    <section class="aui-scrollView">
        <div class="aui-mate-box">
                {foreach $apply as $val}
                    <a href="{:url('My/studentinfo')}?id={$val.user.id}">
                        <div class="aui-card-list aui-border-t aui-border-b" style="margin-bottom:0.4em;">
                            <div class="aui-card-list-header aui-card-list-user">
                                <div class="aui-card-list-user-name">
                                    <div class="aui-font-size-16">{$val.user.name} {if condition="$val.user.sex == 1"} <span class="fa fa-mars" style="color:#0b4cb2"></span> {else /} <i class="fa fa-venus" style="color: #ff7090;"></i> {/if} </div>
                                    <small>
                                        {if condition="$val.status==1"}
                                        <span style="color:#f8ac59"><i class="fa fa-thumb-tack"></i> 缴费核对中</span>
                                        {elseif condition="$val.status==2" /}
                                        <span style="color:green"><i class="fa fa-check"></i> 已录取</span>
                                        {elseif condition="$val.status==3" /}
                                        <span style="color:#2b57d9;"><i class="fa fa-times"></i> 拒绝</span>
                                        {elseif condition="$val.status==4" /}
                                        <span style="color:#d9534f;"><i class="fa fa-times"></i> 待支付 </span>
                                        {elseif condition="$val.status==5" /}
                                        <span style="color:#f8ac59;"><i class="fa fa-times"></i> 报名审核中 </span>
                                        {/if}
                                    </small>
                                </div>
                                <div class="aui-card-list-user-info"><i class="fa fa-sitemap" aria-hidden="true"></i> {$val.bktype}</div>
                                <div class="aui-card-list-user-info"><i class="fa fa-phone-square" aria-hidden="true"></i> {$val.user.phone} <small style="float:right;"><i class="fa fa-clock-o" aria-hidden="true"></i> {$val.create_time}</small></div>
                                <div class="aui-card-list-user-info"></div>
                            </div>

                        </div>
                    </a>
                {/foreach}
            </div>
            <div class="nothing">~~后面没有了~~</div>
    </section>
    {include file="public/footer3"}
</section>
<script src="/public/static/admin/layui/layui.js"></script>
<script>
    layui.use('upload', function() { //独立版的layer无需执行这一句
        var $ = layui.jquery, layer = layui.layer, upload = layui.upload; //独立版的layer无需执行这一句
    });
</script>
</body>
</html>